package com.ktgj.flight.service;

import java.util.List;
import java.util.Map;

import com.ktgj.flight.domain.TicketRemind;
import com.ktgj.flight.domain.vo.TicketRemindVo;

import javax.servlet.http.HttpServletRequest;

/**
 * 提醒信息Service接口
 * 
 * @author ruoyi
 * @date 2021-08-30
 */
public interface ITicketRemindService 
{
    /**
     * 查询提醒信息
     * 
     * @param id 提醒信息ID
     * @return 提醒信息
     */
    public TicketRemind selectTicketRemindById(Long id);

    /**
     * 查询提醒信息列表
     * 
     * @param ticketRemind 提醒信息
     * @return 提醒信息集合
     */
    public List<TicketRemind> selectTicketRemindList(TicketRemind ticketRemind);

    /**
     * 查询儿童婴儿购票说明
     * @return
     */
    public List<Map<String, Object>> queryTicketRemind();

    /**
     * 新增提醒信息
     * 
     * @param ticketRemind 提醒信息
     * @return 结果
     */
    public int insertTicketRemind(TicketRemind ticketRemind);

    /**
     * 修改提醒信息
     * 
     * @param ticketRemind 提醒信息
     * @return 结果
     */
    public int updateTicketRemind(TicketRemind ticketRemind);

    /**
     * 批量删除提醒信息
     * 
     * @param ids 需要删除的提醒信息ID
     * @return 结果
     */
    public int deleteTicketRemindByIds(Long[] ids);

    /**
     * 删除提醒信息信息
     * 
     * @param id 提醒信息ID
     * @return 结果
     */
    public int deleteTicketRemindById(Long id);

    /**
     * 机票提醒信息列表
     * */
    public List<TicketRemind> selectTicketRemindList(String state, String remindType, String remindName, String time, String timeBack);

    /**
     * 创建机票提醒消息信息
     * */
    public int addTicketRemind(HttpServletRequest request, TicketRemindVo ticketRemindVo) throws Exception;
}
